$( document ).ajaxSend(function( event, request, settings ) {
	var storage=window.localStorage;
	//写入access_token字段
    var token = storage.getItem("ADMIN-ACCESS-TOKEN");
  console.log(token);
        var headers = settings.headers || {};
        headers["Authorization"] ="bearer "+token;
        request.setRequestHeader("Authorization", "bearer "+token);
        settings.headers = headers;
});